import { FG } from "./req"
export const login = (obj = { userId: 1000, pwd: "abcd" }) => {
  return FG.post({
    url: "/login_username",
    data: {
      ...obj
    }
  })
}
export const register = (obj = { nickname: String, pwd: String }) => {
  return FG.post({
    url: "/register",
    data: {
      ...obj
    }
  })
}